package com.lmaye.lr.service.message.controller;

import com.lmaye.lr.common.result.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * -- 消息服务 Controller
 *
 * @author lmay.Zhou
 * @date 2019/11/19 18:50 星期二
 * @email lmay@lmaye.com
 */
@Api(tags = "消息服务")
@RestController
@RequestMapping("/message")
public class MessageController {
    /**
     * 测试
     *
     * @return ResponseResult
     */
    @ApiOperation("测试")
    @GetMapping("/index")
    public ResponseResult<String> index() {
        return ResponseResult.success("Welcome To Live Room.");
    }
}
